import request from '@/utils/request'

// 查询贷款结构趋势列表
export function listDkjg(query) {
  return request({
    url: '/buss/reportLsb/dkjg',
    method: 'get',
    params: query
  })
}

// 查询贷款结构趋势详细
export function getDkjg(etlDt) {
  return request({
    url: '/buss/dkjg/' + etlDt,
    method: 'get'
  })
}

// 新增贷款结构趋势
export function addDkjg(data) {
  return request({
    url: '/buss/dkjg',
    method: 'post',
    data: data
  })
}

// 修改贷款结构趋势
export function updateDkjg(data) {
  return request({
    url: '/buss/dkjg',
    method: 'put',
    data: data
  })
}

// 删除贷款结构趋势
export function delDkjg(etlDt) {
  return request({
    url: '/buss/dkjg/' + etlDt,
    method: 'delete'
  })
}
